package com.woniuxy.creditsystem.common.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author ：zhengbin
 * @date ：Created in 2020/12/15 0015
 * @description：
 * @modified By：
 * @version: $
 */
@Mapper
public interface OrderMapper {

    @Insert("insert into order_info(num,order_time,status,sum_money,fk_apply_id)values(#{o.num},now(),0,#{o.sumMoney},#{o.fkApplyId}) ")
    int saveOrder(@Param("o") OrderMapper order);
}
